package com.murfrosoft;

import com.murfrosoft.views.AnimationView2;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class AnimationActivity2 extends Activity {

	private AnimationView2 animationView2;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		animationView2 = new AnimationView2(this);
		
		setContentView(animationView2);
	}

	@Override
	protected void onPause() {
		super.onPause();
		animationView2.stop();
	}

	@Override
	protected void onResume() {
		super.onResume();
		animationView2.go();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_animation_activity2, menu);
		return true;
	}

}
;